home *** CD-ROM | disk | FTP | other *** search
/ Backpacker 2 (Sweden) / BackPacker 2 (Sweden) (Disc 1).7z / BackPacker 2 (Sweden) (Disc 1).bin / pc / instdata / instin05 / 00050.ls < prev    next >
Encoding:
Text File  |  1997-01-01  |  539 b   |  24 lines

  1. on exitFrame
  2.   global gTimeOutLength
  3.   if the timer > gTimeOutLength then
  4.     SorryNoServer()
  5.     exit
  6.   end if
  7.   set msgType to checkIfThayur()
  8.   if msgType = 0 then
  9.     go(the frame - 1)
  10.     set the visible of sprite 28 to not (the visible of sprite 28)
  11.   else
  12.     if msgType = 201 then
  13.       go("connectGame")
  14.     else
  15.       if (msgType = -2) or (msgType = -1) then
  16.         go("createGame")
  17.       else
  18.         go(the frame - 1)
  19.         set the visible of sprite 28 to not (the visible of sprite 28)
  20.       end if
  21.     end if
  22.   end if
  23. end
  24.